Hummingbird\Core\Modules\Minify D

Total Complexity 320
Dependencies 15
Dependents 5
Total lines 2,163
Lines of code 1,168
Logical lines of code 710
Comment lines 684
Methods 81
Properties 10

Methods 81

Method Rating Maintainability Complexity Lines of code
filter_enqueues_list()
C
33 26 90
get_processed_collection()
C
34 24 84
group_dependencies_by_attributes()
C
36 24 76
maybe_split_groups()
B
43 17 48
process_queue()
A
44 15 42
get_splitted_group_structure_by()
A
49 10 31
run()
A
49 8 26
find_internal_links()
A
55 8 18
add_safe_mode_param_to_links()
S
52 7 24
process_fonts()
S
54 7 21
save_css()
S
48 6 35
add_items_to_persistent_queue()
S
55 6 21
safe_mode_notice()
S
54 5 22
toggle_service()
S
56 5 21
get_resources_collection()
S
56 5 18
clear_cache()
S
52 4 26
remove_item_from_persistent_queue()
S
55 4 22
prefetch_fonts()
S
59 4 15
get_disabled_switchers()
S
63 5 9
on_delete_post()
S
64 5 9
exclude_from_ao_ui()
S
64 5 9
attach_scripts_localization()
S
52 3 29
trigger_process_queue_cron()
S
60 4 14
filter_resource_minify()
S
62 4 11
attach_inline_attribute()
S
55 3 22
get_tags()
S
62 4 10
enqueue_critical_css()
S
59 3 14
init()
S
49 2 29
reset_minification_settings()
S
59 3 13
minify_module_status()
S
62 3 12
filter_resource_combine()
S
63 3 11
clear_files()
S
62 3 11
remove_rtl_prefix_on_cdn()
S
66 3 9
disable_minify_for_safe_mode()
S
65 3 10
is_asset_link()
S
67 3 8
is_admin_link()
S
62 3 10
prefetch_cdn_dns()
S
70 3 6
filter_resource_cdn()
S
64 3 9
get_safe_mode_option_value()
S
64 3 9
clear_file()
S
64 3 9
get_postmeta_fields()
S
55 1 24
register_cpts()
S
55 1 21
preload_fonts()
S
66 2 8
filter_after_after_attribute()
S
71 2 6
disable()
S
65 2 10
maybe_append_safe_mode_query_arg()
S
70 2 6
maybe_serve_safe_mode_minify_settings()
S
71 2 6
is_frontend_link()
S
76 2 4
get_wp_media_extensions()
S
66 2 10
exclude_essential_safe_mode_scripts()
S
72 2 6
previewing_safe_mode()
S
73 2 4
filter_after_before_attribute()
S
71 2 6
is_in_header()
S
78 2 3
get_css()
S
66 2 8
filter_resource_block()
S
66 2 8
filter_resource_defer()
S
66 2 8
filter_resource_inline()
S
66 2 8
filter_resource_to_footer()
S
66 2 8
filter_resource_preload()
S
68 2 7
filter_resource_async()
S
68 2 7
schedule_process_queue_cron()
S
73 2 5
is_in_footer()
S
78 2 3
init_scan()
S
74 1 5
delete_pending_persistent_queue()
S
76 1 4
clear_pending_process_queue()
S
71 1 6
get_cdn_status()
S
76 1 4
toggle_cdn()
S
73 1 5
filter_scripts()
S
79 1 3
is_internal_link()
S
78 1 3
disable_minify_on_page()
S
79 1 3
filter_styles()
S
79 1 3
get_queue_to_process()
S
82 1 3
get_pending_persistent_queue()
S
80 1 3
init_module_action()
S
70 1 6
set_safe_mode_option_value()
S
76 1 4
reset_safe_mode()
S
72 1 6
set_safe_mode_settings()
S
73 1 5
get_safe_mode_settings()
S
76 1 4
set_safe_mode_status()
S
73 1 5
get_safe_mode_status()
S
75 1 4
delete_safe_mode()
S
81 1 3